package cn.cvs.service;

import cn.cvs.pojo.SysUser;

import java.util.List;

/**
 * @Description: 用户接口
 */

public interface SysUserService {
    int getCount(int roleId, String realName);

    List<SysUser> getUserListByRoleIdAndRealName(int roleId, String realName, int pageSize, int pageNo);

    int updateUser(SysUser user);

    int deleteUser(List<Integer> ids);

    SysUser getUser(int userId);

    SysUser getUserByAccountAndPwd(String account,String password);

    int addUser(SysUser user);

    SysUser getUserByIdAndPwd(Integer id,String password);

}
